﻿using System;
using System.Collections.Generic;
using System.Text;
using Volo.Abp.Application.Dtos;

namespace Himp.Platform
{
    public class DataTableDictDto : EntityDto<Guid>
    {
        /// <summary>
        /// 表格编码
        /// </summary>
        public string DataTableCodg { get; set; }

        /// <summary>
        /// 表格名称
        /// </summary>
        public string DataTableName { get; set; }

        /// <summary>
        /// 模版
        /// </summary>
        public EnumTableTemplateType TableTemplateType { get; set; }

        /// <summary>
        /// 模版
        /// </summary>
        public string TableTemplateTypeName
        {
            get
            {
                return TableTemplateType.ToString();
            }
        }

        /// <summary>
        /// 说明
        /// </summary>
        public string? Exp { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public bool DefaultFlag { get; set; }

        /// <summary>
        /// 版本
        /// </summary>
        public int Ver { get; set; }

        /// <summary>
        /// Api地址
        /// </summary>
        public Guid? OpenApiDictId { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public IList<DataTableColumnDto> DataTableColumns { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public Guid ProductTopicId { get; set; }

    }
}
